package com.first.hms.mapper;

import com.first.hms.entity.User;
import org.springframework.stereotype.Repository;

import java.awt.print.Book;
import java.util.ArrayList;

/**
 * 1. 用户服务 (UserService)
 * registerUser(User user)：用户注册
 * deleteUser(User user):注销用户、删除用户
 * selecteUser(User user)：用户登录、查询用户信息
 * update User(User user)：修改用户信息*/
@Repository
public interface UserMapper {
     int registerUser(User user);
     int deleteUser(User user);
     User selectUser(User user);
     int updateUser(User user);



}
